package com.j180.dao.impl;

import com.j180.bean.Person;
import com.j180.dao.IStudentDao;
import org.springframework.stereotype.Repository;

@Repository
public class StudentDaoImpl implements IStudentDao {
    @Override
    public void test1() {

        System.out.println("test1====>>运行");
    }

    @Override
    public void test2(int num) {

        System.out.println("test2====>>>运行");
    }

    @Override
    public void test3(int num, String s) {

        System.out.println("test3====>>>运行");

    }

    @Override
    public int test4(int num, int num2) {

        System.out.println("test4====>>>运行");


        return num+num2;
    }

    @Override
    public Person test5(int id, String name, String gender) {

        System.out.println("test5====>>>运行");

        return new Person(id,name,gender);
    }
}
